package com.allwees.bs.module.pms.req;

import com.allwees.bs.core.modelbase.req.Req;
import com.allwees.core.common.constraint.EnumValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
public class ForbidAdjustPriceReq extends Req {

    private static final long serialVersionUID = 5839049246800546747L;

    @NotEmpty(message = "请指定商品")
    private String productUuids;

    @NotNull
    @EnumValue(intValues = {0,1})
    private Integer isForbidden;
}
